<template>
  <div>
    <h1>日志记录</h1>
    <el-button @click="reLogins()" type="primary" round>登入状态</el-button>
    <el-button @click="reLogouts()" type="primary" round>登出状态</el-button>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <h1>物流记录</h1>
    <el-button @click="reTranssend()" type="primary" round>发货中状态</el-button>
    <el-button @click="reTranstrans()" type="primary" round>送货中状态</el-button>
    <el-button @click="reTransreceive()" type="primary" round>已签收状态</el-button>
  </div>
</template>

<script>
export default {
  methods: {
    reLogins(){
      this.$router.push('/loglist?id=' + 1)
    },
    reLogouts(){
      this.$router.push('/loglist?id=' + 0)
    },
    reTranssend(){
      this.$router.push('/translist?id=' + 1)
    },
    reTranstrans(){
      this.$router.push('/translist?id=' + 2)
    },
    reTransreceive(){
      this.$router.push('/translist?id=' + 3)
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>